# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pynamecheap
pkgver=0.0.3
pkgrel=5
pkgdesc="Namecheap API client in Python"
options="!check" # pypi tarball has no tests
url="https://github.com/Bemmu/PyNamecheap"
arch="noarch"
license="MIT"
depends="py3-requests"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/P/PyNamecheap/PyNamecheap-$pkgver.tar.gz"
builddir="$srcdir/PyNamecheap-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="95931d47eae7a8f5a3a8384e4819d2ac6e55af31b6f189b7124b6db7d90932cb6a65f058a57c0a61e519f03d973d951ec7a2db32047c09764cbca6ec290eabb8  PyNamecheap-0.0.3.tar.gz"
